package com.baiye.template.service;

import com.baiye.template.pojo.User;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/**
 * @author GUOZHIPENG
 * @version 1.0
 * @date 2021/8/26 16:18
 */
public interface UserService extends UserDetailsService {
    int regiseter(User u);

//    User login(User u);

    int updateUserInfo(User user);

    List<User> getUser(User user, Integer pageIndex, Integer pageSize);
}
